package com.zs.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zs.blog.model.dto.GrantedDTO;
import com.zs.blog.model.entity.RoleAuthority;
import com.zs.blog.model.entity.RoleMenu;

/**
 * @Title: IRoleAuthorityService
 * @Author zs
 * @Package com.zs.blog.service
 * @Date 2025/9/8 21:43
 * @description: 角色-菜单服务层接口
 */
public interface IRoleMenuService extends IService<RoleMenu> {
    /**
     * 更新菜单权限-分配/取消分配
     *
     * @param grantedDTO 收集授予角色菜单或系统资源权限的参数对象
     */
    void insertOrDeleteRoleMenu(GrantedDTO grantedDTO);
}
